package com.example.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author Hello
 * @since 2024-07-03
 */
@Getter
@Setter
@TableName("tb_voucher")
public class TbVoucher implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     *
     */
    @TableField("shop_id")
    private Long shopId;

    /**
     *
     */
    @TableField("title")
    private String title;

    /**
     *
     */
    @TableField("sub_title")
    private String subTitle;

    /**
     *
     */
    @TableField("rules")
    private String rules;

    /**
     *
     */
    @TableField("pay_value")
    private Long payValue;

    /**
     *
     */
    @TableField("actual_value")
    private Long actualValue;

    /**
     *
     */
    @TableField("type")
    private Byte type;

    /**
     *
     */
    @TableField("status")
    private Byte status;

    /**
     *
     */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     *
     */
    @TableField("update_time")
    private LocalDateTime updateTime;
}
